package com.yikome.shop.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yikome.common.CommonRepository;
import com.yikome.shop.entity.NavigationCollection;

@Repository
public interface NavigationCollectionRepository extends CommonRepository<NavigationCollection, Long> {

	
	void deleteByNavId(Long navId);

	NavigationCollection findByNavIdAndCollectionId(Long navId, Long collectionId);
	
	List<NavigationCollection> findByNavId(Long navId);

	void deleteByNavIdAndCollectionId(Long navId, Long collectionId);

}
